package designpattern.d16;

import lombok.Getter;
import lombok.Setter;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author songx
 * @date 2020/2/20 14:44
 */

public class ApiStatInfo {

    public ApiStatInfo() {
    }

    public ApiStatInfo(String api, long errorCount, long requestCount, long timeoutCount, long durationOfSeconds) {
        this.api = api;
        this.errorCount = errorCount;
        this.requestCount = requestCount;
        this.timeoutCount = timeoutCount;
        this.durationOfSeconds = durationOfSeconds;
    }

    @Getter
    @Setter
    private String api;

    @Getter
    @Setter
    private long errorCount;

    @Getter
    @Setter
    private long requestCount;

    @Getter
    @Setter
    private long timeoutCount;

    @Getter
    @Setter
    private long durationOfSeconds;

}
